#include <time.h>
#include <iostream>
using namespace std;

int main()
{
  int a,n;
  srand(time(0));
  a=rand()/32767.0*9+1;
  n=rand()/32767.0*5+5;

  cout<<"n = "<<n<<" , a = "<<a<<endl;

  system("pause");
  return 1;
}